Mp3 Player Version 013 --


      Some of you forum dwelers requested a mp3 player for the userprofile connected with the pfs folder system, right? ok i've done such thing fast from scratch here and offer it for free download.

      put this in user.profile.tpl and activate EXTRA1 in administration > configuration > users > make extra 1 editable and rename it Folderid

      Code:
      <tr>
      <td style="width:20%;">{USERS_PROFILE_EXTRA1_TITLE}</td>
      <td>{USERS_PROFILE_EXTRA1}</td>
      </tr>



      put this in user.details.tpl
      Code:
      {MP3PLAYER}



      copy plugin to server, install it, edit width/height in settings of plugin.
      when at the settings and you only want to use it as a mp3 player you need to set the height of the playlist as high as the whole player and subtract 20px as 20px is the height of the controlbar.

      order your users to enter the folderid, wich need to be public and to enter the id in the extra1 field in their profile. all mp3, flv files in this folder will be displayed in a playlist under the player. a description that is entered at a mp3 file will be displayed in playlist too.

      description should have the following format:
      <description text>|<some url>

      if its not working 100% right and the player keep saying "cant find" you should take a look at the inc/playlist.php and change the #$domain = "<your domain here>"; to $domain = "<your domain here>"; while you should insert you main domain in that field.

      here are some key facts:

            * supports pfs folders (not user folders!!! not the data/users/1/filname.mp3 thing)
            * supports mp3 files
            * supports flash video files
            * folder need to be at least set to public access
            * auto playlist generation
            * preview images in playlists
            * you can add yourlogo in the top corner